package com.lee.single.starter.response.constant;

/**
 * 返回结果码
 * @author Lee
 * @date 2020/4/21
 */
public class ResultCodeConstants {

    public static final int SUCCESS = 200;

    /**
     * 未登录
     */
    public static final int NOT_LOGIN = 300;

    /**
     * 不允许访问
     */
    public static final int NOT_ALLOWED = 401;

    /**
     * 参数错误
     */
    public static final int ERROR_PARAMS = 410;

    /**
     * 未知错误，通常为未不做的异常
     */
    public static final int ERROR_UNKNOWN = 510;

    /**
     * 一般错误
     */
    public static final int COMMON_ERROR = 1001;

}
